package com.project.service;

import com.project.entity.qo.ReceiptMenuRelationQo;
import com.project.entity.qo.ReceiptQo;
import com.project.entity.qo.SelectReceiptListQo;
import com.project.result.ResponseResult;
import com.project.entity.vo.ReceiptVo;

import java.util.List;

/**
 * @author qjj
 * @create 2022/3/28 16:56
 */
public interface ReceiptService {
    /**
     * 添加发票
     * @param receiptQo
     * @return
     */
    ResponseResult<List<ReceiptVo>> addReceipt(ReceiptQo receiptQo);

    /**
     * 查看个人所有订单
     * @return
     */
    ResponseResult<List<ReceiptVo>> selectReceiptList(SelectReceiptListQo selectReceiptListQo);

    /**
     * 加菜
     * @param receiptMenuRelationQo
     * @return
     */
    ResponseResult<String> addMenu(List<ReceiptMenuRelationQo> receiptMenuRelationQo);

    /**
     * 删菜
     * @param rdrId
     * @return
     */
    ResponseResult<String> deleteRmr(List<Long> rdrId);

    /**
     * 修改菜
     * @param receiptMenuRelationQo
     * @return
     */
    ResponseResult<String> updateMenu(List<ReceiptMenuRelationQo> receiptMenuRelationQo);
}
